export interface ITableData {
  applicationId: number | string
  cache: 0 | 1
  children: null | ITableData[]
  fullPath: string
  icon: string
  id: number | string
  name: string
  parentId: string | number
  path: string
  sorted: string | number
  type: 'ROUTE' | 'MENU'
}
export type IOptionType = (ITableData & { label: string; value: string | number })[]

export type IAppType = { applicationName: string; id: number | string }

export type IAppSelect = { value: string | number; label: string }[]

export type IMenuType = { val: string | number; info: Record<string, any> }
